#ifndef AP_HTTP_SERVER_H
#define AP_HTTP_SERVER_H

#include <string.h>
#include <stdlib.h>
#include <unistd.h>
#include <esp_log.h>
#include <nvs_flash.h>
#include <sys/param.h>
#include "esp_netif.h"
#include "esp_tls_crypto.h"
#include <esp_http_server.h>
#include "esp_event.h"
#include "esp_tls.h"
#include "esp_system.h"

#include "server_spiffs.h"

#include "tool_common.h"

extern const httpd_uri_t root_index;
extern const httpd_uri_t wifi_list;
extern const httpd_uri_t favicon_ico;

httpd_handle_t start_webserver(void);

void ap_http_demo();

#endif